Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR prepares the 2.1.0 release by tightening TypeScript/ESLint checks, adding CI automation for lint + typechecking, and applying formatting-only cleanups across several UI components.
Changes:
- Added a GitHub Actions workflow to run
npm run check(lint +tsc) on pushes/PRs tomain. - Migrated ESLint flat config from
eslint.config.mjstoeslint.config.ts, adding Next.js recommended configs andjiti. - Updated scripts/versioning and applied formatting refactors across multiple components.
Reviewed changes
Copilot reviewed 12 out of 17 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tsconfig.json | Disables JS compilation by setting allowJs: false. |
| src/lib/config.ts | Formatting-only change to JSON env parsing exports. |
| src/components/ui/Stagger.tsx | Formatting-only JSX/indentation cleanup. |
| src/components/ui/FadeIn.tsx | Formatting-only JSX/indentation cleanup. |
| src/components/sections/Work.tsx | Formatting-only JSX layout/props wrapping. |
| src/components/sections/Projects.tsx | Formatting-only JSX layout/props wrapping and line breaks. |
| src/components/layout/header.tsx | Removes unused loop index param in NAV_LINKS.map. |
| src/components/ThemeRegistry/theme.ts | Formatting-only theme object reindentation. |
| src/components/ThemeRegistry/ThemeRegistry.tsx | Formatting-only prop destructuring/layout. |
| src/components/ThemeRegistry/EmotionCache.tsx | Formatting-only (semicolons/indentation) within Emotion cache provider. |
| src/app/error.tsx | Formatting-only: expands sx object and JSX for readability. |
| package.json | Bumps version to 2.1.0; adds typecheck/check scripts; adds jiti. |
| package-lock.json | Lockfile updates for 2.1.0 and jiti dependency. |
| eslint.config.ts | New TypeScript-based ESLint flat config using Next.js + Prettier presets. |
| eslint.config.mjs | Removes old ESLint config. |
| README.md | Adds badges and removes redundant license section. |
| .github/workflows/check.yml | Adds CI workflow for lint + typecheck on main pushes/PRs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
…n permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements focused on code quality, developer experience, and minor formatting enhancements. The most significant changes are the addition of a lint and type check workflow, restructuring ESLint configuration, and updating scripts to streamline code checks. There are also minor formatting updates across multiple files for consistency.
CI/CD and Developer Experience
.github/workflows/check.yml) to automate linting and type checking on pushes and pull requests to themainbranch.package.jsonscripts: addedtypecheckandcheckcommands to allow running lint and type checks together, improving local and CI checks.README.mdfor release, CodeQL, lint/type check status, and license, enhancing project visibility and status tracking.ESLint Configuration
eslint.config.mjsto a new TypeScript-basedeslint.config.tsfile, integrating Next.js and Prettier recommendations for improved linting and type safety. [1] [2]jitias a dev dependency to support runtime TypeScript in ESLint configuration.Formatting and Minor Code Cleanups
src/components/ThemeRegistry/EmotionCache.tsx,src/components/sections/Projects.tsx,src/components/sections/Work.tsx) for improved readability and consistency. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Versioning
package.jsonfrom 2.0.7 to 2.1.0 to reflect new features and improvements.Documentation
README.md(now covered by badge and file link).These updates collectively improve code quality, maintainability, and the developer workflow.